﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SocialFront.Providers.Blog;
using umbraco.presentation.nodeFactory;

namespace SocialFront.Web.usercontrols.Blog
{
    public partial class MemberBlog : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Entities.Blog blog = BlogProvider.Provider.GetBlogById(Node.GetCurrent().Id);

            lBlogTitle.Text = blog.Title;
            lBlogArticle.Text = blog.Content;
        }
    }
}